function enterChat() {
    document.getElementById('nickname_page').style.display = 'none';
    document.getElementById('chatroom_page').style.display = 'block';
}